﻿<Window x:Class="NascarEventsWPF.Page3_UG_AG"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Page3_UG_AG" Height="700" Width="700" Background="CornflowerBlue" Loaded="Window_Loaded_1">
    <Grid>
        <Label Content="Select attribute:" HorizontalAlignment="Left" Margin="62,49,0,0" VerticalAlignment="Top" FontWeight="Bold"/>
        <Label Content="Select Group:" HorizontalAlignment="Left" Margin="213,53,0,0" VerticalAlignment="Top" FontWeight="Bold"/>

        <TextBlock x:Name="addAttribtoGroup_results" HorizontalAlignment="Left" Margin="67,238,0,0" TextWrapping="Wrap" Text="Results" VerticalAlignment="Top" Height="26" Width="526" FontWeight="Bold"/>

        <Label Content="Add Attribute to Group" HorizontalAlignment="Left" Margin="342,191,0,0" VerticalAlignment="Top" FontWeight="Bold"/>

        <ListBox x:Name="attributes_listbox" HorizontalAlignment="Left" Height="138" Margin="40,79,0,0" SelectionMode="Multiple" VerticalAlignment="Top" Width="134"/>
        <ListBox x:Name="groups_listbox" HorizontalAlignment="Left" Height="137" Margin="194,79,0,0" SelectionMode="Multiple" VerticalAlignment="Top" Width="131"/>
        <Button x:Name="AddAttribtoGroupbtn" Content="Add" HorizontalAlignment="Left" Margin="485,193,0,0" VerticalAlignment="Top" Width="75" Click="AddAttribtoGroupbtn_Click" Height="24" RenderTransformOrigin="0.5,0.5" FontWeight="Bold"/>
        <TextBox x:Name="GA_Value_txt" HorizontalAlignment="Left" Height="23" Margin="394,89,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="26"/>
        <RadioButton x:Name="disableNGA_rb" GroupName="attributedisabled" Content="No" HorizontalAlignment="Left" Margin="501,122,0,0" VerticalAlignment="Top"/>
        <RadioButton x:Name="disableY_GA_rb" GroupName="attributedisabled"  Content="Yes" HorizontalAlignment="Left" Margin="501,95,0,0" VerticalAlignment="Top" RenderTransformOrigin="1.715,0.365"/>
        <Label Content="Disabled?" HorizontalAlignment="Left" Margin="492,56,0,0" VerticalAlignment="Top" FontWeight="Bold"/>
        <Label Content="GroupAttribute Value" HorizontalAlignment="Left" Margin="347,58,0,0" VerticalAlignment="Top" FontWeight="Bold"/>
        <GroupBox Header="Add Attribute to Group" HorizontalAlignment="Left" Margin="23,25,0,0" VerticalAlignment="Top" Height="267" Width="643" FontWeight="Bold" FontSize="16"/>
        <ListBox x:Name="LB_USER" HorizontalAlignment="Left" SelectionMode="Multiple" Height="148" Margin="33,374,0,0" VerticalAlignment="Top" Width="134"/>
        <ListBox x:Name="LB_GROUPS" HorizontalAlignment="Left" SelectionMode="Multiple" Height="148" Margin="190,374,0,0" VerticalAlignment="Top" Width="131"/>
        <Label Content="Select User" HorizontalAlignment="Left" Margin="54,343,0,0" VerticalAlignment="Top" Width="78" FontWeight="Bold"/>
        <Label Content="Select Group" HorizontalAlignment="Left" Margin="205,343,0,0" VerticalAlignment="Top" Width="102" FontWeight="Bold"/>
        <RadioButton x:Name="RB_YES" Content="Yes" HorizontalAlignment="Left" Margin="499,413,0,0" VerticalAlignment="Top"/>
        <RadioButton x:Name="RB_NO" Content="No" HorizontalAlignment="Left" Margin="499,447,0,0" VerticalAlignment="Top"/>
        <Label Content="Disabled?" HorizontalAlignment="Left" Margin="499,356,0,0" VerticalAlignment="Top" Width="75" FontWeight="Bold"/>
        <Button Content="Add" HorizontalAlignment="Left" Margin="485,493,0,0" VerticalAlignment="Top" Width="75" Height="29" RenderTransformOrigin="1.08,0.586" Click="Button_Click"/>
        <Label Content="Add User to Groups" HorizontalAlignment="Left" Margin="359,496,0,0" VerticalAlignment="Top" Width="116" FontWeight="Bold"/>
        <Label Content="Result" HorizontalAlignment="Left" Margin="54,550,0,0" VerticalAlignment="Top" Width="49" FontWeight="Bold"/>
        <TextBlock x:Name="TBL_Result" HorizontalAlignment="Left" Margin="205,551,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="26" Width="355"/>
        <GroupBox Header="Add User to Groups" HorizontalAlignment="Left" Margin="22,312,0,0" VerticalAlignment="Top" Height="299" Width="647" FontWeight="Bold" FontSize="16"/>

    </Grid>
</Window>
